package cn.day12;

public class TestNumber {
    static Integer i0;

    public static void main(String[] args) {
        System.out.println(i0);//null
        Integer i1=new Integer(5);
        Integer i11=new Integer(5);
        System.out.println(i1==i11);//F
        System.out.println(i1.equals(i11));//T

        Integer i2=Integer.valueOf(127);
        Integer i22=Integer.valueOf(127);
        System.out.println(i2==i22);//T
        System.out.println(i2.equals(i22));//T

        Integer i3=Integer.valueOf(300);
        Integer i33=Integer.valueOf(300);
        System.out.println(i3==i33);//f
        System.out.println(i3.equals(i33));//t

        Double d1=new Double(3.14);
        Double d11=new Double(3.14);
        

    }
}
